﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpSoda.Message
{
    public class MessageSessionData
    {
        private IMessageSession m_Session = null;
        private string m_Message = null;
        private byte[] m_Data = null;

        public MessageSessionData(IMessageSession session, string msg, byte[] data)
        {
            m_Session = session;
            m_Message = msg;
            m_Data = data;
        }

        public MessageSessionData(IMessageSession session, string msg)
            : this(session, msg, null) { }

        public IMessageSession Session
        {
            get { return m_Session; }
        }

        public string Message
        {
            get { return m_Message; }
        }

        public byte[] Data
        {
            get { return m_Data; }
        }

    }
}
